package com.turing.post.cardmanagement.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 面值管理
 * @author YangShuo
 *
 */

@Remote
@Local
public interface CardParValueDao {
	/**
	 * 根据主键查询面值
	 * @param CardParValueId 卡面值ID
	 * @return CardParValue对象
	 */
	public CardParValue getCardParValueByCardParValueId(BigInteger CardParValueId);

	

	/**
	 * 查询全部面值
	 *
	 * @return CardParValue对象集合
	 */
	public List<CardParValue> getCardParValueList();

	
	/**
	 * 新增面值
	 * @param CardParValue对象
	 */
	public void insertCardParValue(CardParValue CardParValue)
			throws PCPSApplicationException;

	/**
	 * 删除面值
	 * @param CardParValueId 面值ID
	 */
	public void deleteCardParValue(BigInteger CardParValueId)
			throws PCPSApplicationException;
	
	/**
	 * 修改面值
	 * @param CardParValueId 面值ID
	 */
	public void updateCardParValueRemark(BigInteger CardParValueId,String remark)
			throws PCPSApplicationException;
}
